package com.demo2do.boyle.common.entity.customer.wallet;

import com.demo2do.core.utils.Alias;

/**
 * 
 * @author Wilson
 */
@Alias("withdrawalType")
public enum WithdrawalType {

    ALIPAY("支付宝", "info");

    private String description;
    
    private String css;

    private WithdrawalType(String description, String css) {
        this.description = description;
        this.css = css;
    }

    /**
     * @return the description
     */
    public String getDescription() {
        return description;
    }

    /**
     * @param description the description to set
     */
    public void setDescription(String description) {
        this.description = description;
    }
    
    /**
	 * @return the css
	 */
	public String getCss() {
		return css;
	}
	
	public String getName() {
        return name();
    }

    @Override
    public String toString() {
        return this.description;
    }

}
